import {Tag} from 'antd';
import React from 'react';
import {LessonStatus} from "@/constants/LessonConstants";
import DateUtil from "@/utils/DateUtils";
import {LessonStatusConfig, StatusConfigItem} from "@/hooks/useLesson";

interface LessonStatusTagProps {
  currentStatusConfig: StatusConfigItem
}

const LessonStatusTag: React.FC<LessonStatusTagProps> = ({currentStatusConfig}) => {
  return (
    <div>
      <Tag color={currentStatusConfig.color}>{currentStatusConfig.text}</Tag>
    </div>
  );
};

export default LessonStatusTag;
